package grape.crm.rest.customertag.vo;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import grape.crm.service.customer.api.ICustomerService;
import grape.crm.service.tag.api.ITagService;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户标签表
 * </p>
 *
 * @author yangwei
 * @since 2020-09-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="客户标签表数据响应对象")
public class CustomerTagVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户id")
    private String customerId;

    @TransBy(type = ICustomerService.trans_customer_name_else_appellation,byFieldName = "customerId")
    @ApiModelProperty(value = "客户姓名")
    private String customerName;

    @ApiModelProperty(value = "标签id")
    private String tagId;

    @TransBy(type = ITagService.trans_tag_name,byFieldName = "tagId")
    @ApiModelProperty(value = "标签id")
    private String tagName;


}
